]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Fix accessibility for application folders
authorSergio Costas Rodriguez <sergio.costas@canonical.com>
Wed, 4 Mar 2026 11:35:52 +0000 (12:35 +0100)
committerSergio Costas Rodriguez <sergio.costas@canonical.com>
Fri, 6 Mar 2026 13:34:36 +0000 (14:34 +0100)
commit6b01ddb1b445045696d1b3f70d644be77e1f03b4
treeaba56e39a9f9c522689a073a8fc0562119e7836a
parente781d8155ab312a1335dd3082dfd8abfef8430b9
appDisplay: Fix accessibility for application folders

Currently, application folders have a `checkbutton` role, which
is confusing for the user because it's not something that
changes its checked status, but a button that opens the contents
of the folder. Also, the only indication that this is a folder
and not a "normal" application is that role, which means that an
user must know that pushbuttons are applications and checkbuttons
are folders, which is confusing.

This patch fixes this by adding the "expandable" accessible
state to the folder button, thus notifying the user that it is
an element with extra elements inside.

It also adds the folder name and the type as the full container
label when opening a folder, thus ensuring that the user knows
where they are.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4109>
js/ui/appDisplay.js